Skip to content

feat: backfill GitHub releases and emit release on publish#119

Merged
zeevdr merged 1 commit into
mainfrom
fix/issue-6-backfill-gh-releases
Jun 3, 2026
Merged

feat: backfill GitHub releases and emit release on publish#119
zeevdr merged 1 commit into
mainfrom
fix/issue-6-backfill-gh-releases

Conversation

@zeevdr
Copy link
Copy Markdown
Member

@zeevdr zeevdr commented Jun 3, 2026

Summary

  • Add scripts/backfill-releases.sh: a one-shot script that downloads wheel and sdist artifacts for the already-published PyPI versions (0.1.0, 0.2.0) from the PyPI JSON API and creates GitHub releases on the corresponding tags (v0.1.0, v0.2.0) with --generate-notes and attached artifacts.
  • Update .github/workflows/publish.yml: upgrade the publish job's contents permission from read to write and add a gh release create step after the PyPI publish step, attaching the built artifacts from sdk/dist/ so every future tag push produces a GitHub release automatically.

Test plan

  • Run scripts/backfill-releases.sh manually (requires gh auth as a repo admin) and confirm GitHub releases appear for v0.1.0 and v0.2.0 with .whl and .tar.gz attached.
  • Push a new version tag to verify the updated workflow creates a GitHub release alongside the PyPI publish.
  • Confirm CI passes on this PR.

Closes #6

🤖 Generated with Claude Code

Add scripts/backfill-releases.sh to create GitHub releases for the
already-published PyPI versions (0.1.0, 0.2.0), downloading wheel and
sdist artifacts from PyPI and attaching them to the corresponding tags.

Update .github/workflows/publish.yml to create a GitHub release on
every future tag push: upgrades the job's `contents` permission from
read to write and adds a `gh release create` step after the PyPI
publish step, attaching the built artifacts from sdk/dist/.

Closes #6
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@zeevdr zeevdr merged commit f4f2f20 into main Jun 3, 2026
15 checks passed
@zeevdr zeevdr deleted the fix/issue-6-backfill-gh-releases branch June 3, 2026 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Backfill GitHub releases for published PyPI versions

1 participant